package com.swolin.笔试;


import sun.reflect.generics.tree.IntSignature;

import java.util.stream.IntStream;

class A{
    static
    {
        System.out.println("1");

    }
    public A(){System.out.println("2");}

    {System.out.println("3");}
}
class B extends A{
    static
    {
        System.out.println("A");

    }
    public B(){System.out.println("B");}

    {System.out.println("C");}
}
public class Test {
    static{
        System.out.println("D");
    }
    public static void main(String[] args) {
        new B();
    }

}
